package com.example.counter.feign;

import com.example.counter.feign.vo.OrderMainVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @ClassName OrderService.java
 * @Author 江南小俊
 * @Version 1.0.0
 * @Description TODO
 * @Date 2021/03/26 23:39:00
 */
@FeignClient(name="order")
public interface OrderService {
    @PostMapping("/{orderNo}")
    OrderMainVo confirmOrder(@PathVariable Long orderNo);
}
